#include "MyHomeDlg.h"

MyHomeDlg::MyHomeDlg(QWidget *parent)
	: QDialog(parent)
{
	ui.setupUi(this);

	connect(ui.pushButton,SIGNAL(clicked()),this,SLOT(OnOk()));
}

MyHomeDlg::~MyHomeDlg()
{

}

int MyHomeDlg::OnOk()
{
	str4=ui.lineEdit_4->text();
	str1=ui.lineEdit->text();
	str2=ui.lineEdit_2->text();
	str3=ui.lineEdit_3->text();
	this->hide();

	return 0;
}

